package cn.ruituo.adv2;

public class WrapTest2 {
    public static void main(String[] args) {
        int o=0XFF;//16进制
        int o2=066;//8进制
        int o3=0b1110;//2进制
        System.out.println(o+","+o2+","+o3);
        int i=2020;
        byte k1= (byte) (i&0XFF);
        byte k2= (byte) (i>>8&0XFF);
        byte k3= (byte) (i>>16&0XFF);
        byte k4= (byte) (i>>24&0XFF);
        System.out.println(k2);
    }
}
